import React from "react";
import ReactDOM from "react-dom/client";
import "virtual:uno.css";
import App from "./App.tsx";
import "antd/dist/reset.css";
import { HashRouter } from "react-router-dom";
import { ConfigProvider } from "antd";
import { Provider } from "react-redux";
import { store } from "@/store";
ReactDOM.createRoot(document.getElementById("root")!).render(
  // <React.StrictMode>
    <HashRouter>
      {/* 主题 */}
      <ConfigProvider
        theme={{
          token: {
            colorPrimary: "#1d533d",
            colorInfo: "#1d533d",
          },
        }}
      >
        <Provider store={store}>
          <App />
        </Provider>
      </ConfigProvider>
    </HashRouter>
  // {/* </React.StrictMode> */}
);
